<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" href="__STATIC__/plugs/layui-v2.5.6/css/layui.css" />
    <script type="text/javascript" src="__STATIC__/plugs/layui-v2.5.6/layui.js"></script>
</head>
<body class="layui-layout-body layuimini-all layuimini-multi-module">
<div class="layui-layout layui-layout-admin">
    <div class="layui-header header">
        <div class="layui-logo layuimini-logo">
            <a><img src="__STATIC__/common/images/logo-2.png" alt="喵头鹰" class="img" /> </a>
        </div>
        <div class="layuimini-header-content">
            <ul class="layui-nav layui-layout-left layuimini-header-menu layuimini-menu-header-pc layuimini-pc-show">
                <li class="layui-nav-item"><a href="">最新活动</a></li>
                <li class="layui-nav-item layui-this"><a href="">产品</a></li>
                <li class="layui-nav-item"><a href="">大数据</a></li>
                <li class="layui-nav-item">
                    <a href="javascript:;">解决方案</a>
                </li>
                <li class="layui-nav-item"><a href="">社区</a></li>
            </ul>
        </div>
    </div>

</div>





<script>
    //注意：导航 依赖 element 模块，否则无法进行功能性操作
    layui.use(['form', 'element'], function(){
        let element = layui.element;

        let form = layui.form,
            layedit = layui.layedit,
            laydate = layui.laydate,
            layer = layui.layer;

        form.on('submit(demo2)', function (data) {
            layer.alert('dddddddd')
            return false;
        });
    });
</script>
</body>
</html>